package com.gaeainfo.modules.alarm.process.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * Created by Caven on 2018/7/10.
 */
@Entity
@Table(name="T_ALARM_PROCESS")
public class AlarmProcessEntity {

    private String processId;
    private String alarmId;
    private String deptId;
    private String deptName;
    private String policeNo;
    private String policeName;
    private String status;
    private Timestamp dispatchTime;
    private Timestamp receiveTime;
    private String receiveLngLat;
    private Timestamp departureTime;
    private Timestamp arriveTime;
    private String arriveLngLat;
    private Timestamp finishTime;
    private String remark;
    private Timestamp updatedTime;

    @Id
    @GeneratedValue(generator = "assigned")
    @GenericGenerator(name = "assigned", strategy = "assigned")
    @Column(name = "PID")
    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    @Column(name = "ALARM_ID")
    public String getAlarmId() {
        return alarmId;
    }

    public void setAlarmId(String alarmId) {
        this.alarmId = alarmId;
    }

    @Column(name = "DEPT_ID")
    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    @Column(name = "DEPT_NAME")
    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Column(name = "POLICE_NO")
    public String getPoliceNo() {
        return policeNo;
    }

    public void setPoliceNo(String policeNo) {
        this.policeNo = policeNo;
    }

    @Column(name = "POLICE_NAME")
    public String getPoliceName() {
        return policeName;
    }

    public void setPoliceName(String policeName) {
        this.policeName = policeName;
    }

    @Column(name = "STATUS")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Column(name = "DISPATCH_TIME")
    public Timestamp getDispatchTime() {
        return dispatchTime;
    }

    public void setDispatchTime(Timestamp dispatchTime) {
        this.dispatchTime = dispatchTime;
    }

    @Column(name = "DEPARTURE_TIME")
    public Timestamp getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Timestamp departureTime) {
        this.departureTime = departureTime;
    }

    @Column(name = "RECEIVE_TIME")
    public Timestamp getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Timestamp receiveTime) {
        this.receiveTime = receiveTime;
    }

    @Column(name = "RECEIVE_LNG_LAT")
    public String getReceiveLngLat() {
        return receiveLngLat;
    }

    public void setReceiveLngLat(String receiveLngLat) {
        this.receiveLngLat = receiveLngLat;
    }

    @Column(name = "ARRIVE_TIME")
    public Timestamp getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(Timestamp arriveTime) {
        this.arriveTime = arriveTime;
    }

    @Column(name = "ARRIVE_LNG_LAT")
    public String getArriveLngLat() {
        return arriveLngLat;
    }

    public void setArriveLngLat(String arriveLngLat) {
        this.arriveLngLat = arriveLngLat;
    }

    @Column(name = "FINISH_TIME")
    public Timestamp getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Timestamp finishTime) {
        this.finishTime = finishTime;
    }

    @Column(name = "REMARK")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Column(name = "UPDATED_TIME")
    public Timestamp getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Timestamp updatedTime) {
        this.updatedTime = updatedTime;
    }
}
